package com.aliyun.heiyu.powermaster.server.dao;

import com.aliyun.heiyu.powermaster.proto.GetLogHistoryRequest;
import com.aliyun.heiyu.powermaster.server.dao.entity.LogHistoryEntity;

import java.util.List;

public interface LogHistoryDao {

    Integer saveLogHistory(LogHistoryEntity entity);

    List<LogHistoryEntity> getLogHistory(GetLogHistoryRequest request);

    LogHistoryEntity selectLast();


}
